package org.bggood.org.query;

import lombok.Data;

@Data
public class PageQuery {
    private Integer currentPage;
    private Integer pageSize;

    public Integer getPage(){
        return (this.currentPage -1)*this.pageSize;
    }
}
